package com.shujia.java.day17.demo4;
/**
* @Description: Test1  �ַ������滻 replace
* @Author: �����
* @Date: 2019/8/19 15:31
*/
public class Test1 {
    public static void main(String[] args) {
        String str="{name}���й�";
        String s = str.replace("{name}", "Ӧͳ��");
        System.out.println(s);
    }
}
